package com.by.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.github.classgraph.json.Id;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 购物车;
 * @author : http://www.chiner.pro
 * @date : 2025-4-14
 */
@ApiModel(value = "购物车",description = "")
@TableName(value="shop_cart_item")
public class ShopCart implements Serializable,Cloneable {
    /** 主键 */
    @Id
    @ApiModelProperty(name = "主键", notes = "")
    private int cartItemId;

    /**
     * 店铺ID
     */
    @ApiModelProperty(name = "店铺ID", notes = "")
    private int shopId;
    /** 产品ID */
    @ApiModelProperty(name = "产品ID", notes = "")
    private int spuId;
    /** SkuID */
    @ApiModelProperty(name = "SkuID", notes = "")
    private int skuId;
    /** 用户ID */
    @ApiModelProperty(name = "用户ID", notes = "")
    private int  userId;
    /**
     * 购物车产品个数
     */
    @ApiModelProperty(name = "购物车产品个数", notes = "")
    private Integer count;
    /** 售价，加入购物车时的商品价格 */
    @ApiModelProperty(name = "售价，加入购物车时的商品价格", notes = "")
    private int priceFee;
    /**
     * 是否已勾选
     */
    @ApiModelProperty(name = "是否已勾选", notes = "")
    private int isChecked;
}